<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<table width="800px" border="1px">
    <tr>
        <th>编号</th>
        <th>账号</th>
        <th>密码</th>
        <th>类型</th>
        <th>图片</th>
    </tr>
    <tr th:each="user:${users}">
        <td th:text="${user.userId}"></td>
        <td th:text="${user.userName}"></td>
        <td th:text="${user.userPwd}"></td>
        <td th:text="${user.userType}"></td>
        <td >
            <img th:src="@{images/${user.userImg}}">
        </td>
    </tr>
</table>
</body>
</html>